package com.my.socket.nio.v27;

import java.net.InetSocketAddress;
import java.net.Socket;

/**
 * Created by Scarlett on 2018/8/20 0020.
 */
public class Client {

    public static void main(String[] args) throws Exception {
        for (int i = 0; i < 100; i++) {
            Socket socket = new Socket();
            socket.connect(new InetSocketAddress("127.0.0.1", 9999));
        }
    }
}
